<?php defined('SYSPATH') or die('No direct script access.');

class Controller_Welcome extends Controller {

	public function action_index()
	{
		$province = ORM::factory("province");
		$result = $province->where("id","=",1)->find();
		$view = View::factory("pages/home");
		$view->provincename = $result->name;
		$this->request->response = $view;
	}

} // End Welcome
